<?php
global $ti;
$ti->query_build('user_profile','get profile')
	->select('users')
	->same_user();

$ti->query_build('user_profile','save')
	->update('users')
	->dset('first_name','last_name','email_address','phone_number')
	->same_user();
?>